package com.ocr.utils.beans;

/**
 * @author 化粪池堵塞的凶手
 */
public class WordLabe{

    //分词
    private String label;

    //词频
    private int wordFrequency;

    public WordLabe() {}

    public WordLabe(String label, int wordFrequency) {
        this.label = label;
        this.wordFrequency = wordFrequency;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public int getWordFrequency() {
        return wordFrequency;
    }

    public void setWordFrequency(int wordFrequency) {
        this.wordFrequency = wordFrequency;
    }

    @Override
    public String toString() {
        return "WordLabe{" +
                "label='" + label + '\'' +
                ", wordFrequency=" + wordFrequency +
                '}';
    }
}